package com.kang.pojo;

import java.io.Serializable;

/**
 * 用户——角色
 * 
 * @author ysq
 *
 */
public class RoleUser implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 用户id
	 */
	private Integer userid;
	/**
	 * 用户名称
	 */
	private String loginname;
	/**
	 * 用户登录名
	 */
	private String accountName;
	/**
	 * 用户状态
	 */
	private String status;
	/**
	 * 角色id
	 */
	private Integer roleid;
	/**
	 * 角色名称
	 */
	private String rolename;

	public RoleUser() {
	}

	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getLoginname() {
		return loginname;
	}

	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getRoleid() {
		return roleid;
	}

	public void setRoleid(Integer roleid) {
		this.roleid = roleid;
	}

	public String getRolename() {
		return rolename;
	}

	public void setRolename(String rolename) {
		this.rolename = rolename;
	}

	public String getAccountName() {
		return accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}

	@Override
	public String toString() {
		return "RoleUser [userid=" + userid + ", loginname=" + loginname
				+ ", accountName=" + accountName + ", status=" + status
				+ ", roleid=" + roleid + ", rolename=" + rolename + "]";
	}

}
